﻿//
// Created by francklinson on 2021/3/26.
//

#include "TableTennisPlayer.h"
#include <iostream>

TableTennisPlayer::TableTennisPlayer(const string &fn,
                                     const string &ln, bool ht) : firstname(fn),
                                                                  lastname(ln), hasTable(ht)
{}

void TableTennisPlayer::Name() const
{
    std::cout << lastname << "," << firstname;
}